package com.zhouke.certificate.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhouke.certificate.controller.dto.UserDTO;
import com.zhouke.certificate.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 周科
 * @since 2022-03-23
 */
public interface IUserService extends IService<User> {

    UserDTO login(UserDTO userDTO);

    User register(UserDTO userDTO);

    List<User> getUserByName(String name);

    Page<User> findPage(Page<User> objectPage, String realName, String college, String identity);
}
